package artibella.ui.combos
{
	import flash.display.Sprite;
	
	/**
	 * ...
	 * @author pbordachar
	 */
	
	public class AComboListItem extends Sprite
	{
		protected var _indice:int;
		protected var _txtValue:String;
		
		public function AComboListItem( i:int ) 
		{
			_indice = i;
			
			buttonMode = true;
			mouseChildren = false;
		}
		
		public function setText( str:String ):void
		{
			_txtValue = str;
			
			// override this
		}
		
		public function setBackground():void
		{
			
		}
		
		// - - -
		
		public function doROver():void
		{
			// override this
		}
		
		public function doROut():void
		{
			// override this
		}
		
		public function doClick():void
		{
			// override this
		}

		// - - -
		
		public function get indice():int 
		{
			return _indice;
		}
		
		public function get text():String 
		{
			return _txtValue;
		}	
	}
}